<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>注册</title>
<link rel="stylesheet" href="../css/common.css" />
<link rel="stylesheet" href="../css/reg.css" />
</head>

<body>
	<div class="middle">
		<a href="index.html"><img src="../img/logo.jpg" alt="logo" /></a>
		<!-- <form id="reg" onsubmit="return false" > -->
		<form id="reg" onsubmit="return subInput()" action="reg.do" method="post" >
			<div style="position:absolute; font-size: 16px; left: 100px; top: 15px; color:red">${tip!"请注册"}</div>
			<label>会员名</label><input type="text" name="name" id="name" />
			<div id="nametip">*请输入6-16位的用户名!</div>

			<div id="nametip1">*该会员名已经被注册了！</div>

			<div id="nametip2">*不允许有空格！</div>
			<br /> <label>密码</label><input type="password" name="pwd" id="pwd" />
			<div id="pwdtip">*请输入6-18位的密码！</div>
			<br /> <label>确认密码</label><input type="password" name="comfirm_pwd"
				id="comfirm_pwd" />
			<div id="comfirm_pwdtip">*密码不一致</div>
			<br /> <label>Email</label><input type="text" name="email"
				id="email" />
			<div id="emailtip">*邮箱格式不正确</div>
			<div id="emailtip1">*该邮箱已经被注册了！</div>
			<br /> <label>手机号</label><input type="text" name="phone" id="phone" />
			<div id="phonetip">*手机格式不正确</div>
			<div id="phonetip1">*该手机已经被注册了！</div>
			<br /> <label>验证码</label><input type="text" name="code" id="code" />
			<span class="vertification_code"><img
				src="../img/reg_code_01.jpg"></span> <span class="change_img"><a
				href="javascript:void(0)">看不清，换一张</a></span>
			<div id="codetip">*验证码有误</div>
			<br /> <input type="checkbox" name="agree" id="agree" /><label
				for="agree">同意注册协议</label>
			<div id="checktip">*请勾选协议</div>
			<br />
			<!--<input type="submit" id="sub" name="sub" value="注册" onclick="alert('greg');"/>-->
			<input type="submit" id="sub" name="sub" value="注册"
				onclick="subInput()" />
		</form>
	</div>
	<!--尾部-->
	<div class="footer">
		<ul>
			<li><img src="../img/contact_icon.png" alt=""><span>QQ公众号</span></li>
			<li><img src="../img/contact_icon.png" alt=""><span>QQ公众号</span></li>
			<li><img src="../img/position_icon.png" alt=""><span>520余家售后网点</span></li>
			<li><img src="../img/position_icon.png" alt=""><span>520余家售后网点</span></li>
		</ul>
		<hr>
		<div>
			<dl>
				<dt>帮助中心</dt>
				<dd>账号管理</dd>
				<dd>购物指南</dd>
				<dd>订单操作</dd>
			</dl>
			<dl>
				<dt>帮助中心</dt>
				<dd>账号管理</dd>
				<dd>购物指南</dd>
				<dd>订单操作</dd>
			</dl>
			<dl>
				<dt>帮助中心</dt>
				<dd>账号管理</dd>
				<dd>购物指南</dd>
				<dd>订单操作</dd>
			</dl>
			<dl>
				<dt>帮助中心</dt>
				<dd>账号管理</dd>
				<dd>购物指南</dd>
				<dd>订单操作</dd>
			</dl>

			<span>400-400-4000</span>
			<p>在 线 客 服</p>
		</div>

		<p>©mi.com 京ICP证110507号 京ICP备10046444号 京公网安备11010802020134号
			京网文[2014]0059-0009号</p>
		<p>违法和不良信息举报电话：185-0130-1238，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试</p>
	</div>
	<script type="text/javascript" src="../js/reg.js"></script>
</body>

</html>